﻿using System;
using System.Collections.Generic;
using System.Text;

namespace HermesWinForm
{
    public class CarrierInfo
    {
        public static int GetCarrierID(string carrierName)
        {
            if (carrierName == "EUB")
            {
                return 1;
            }
            if (carrierName == "HK POST")
            {
                return 2;
            }
            return 0;
        }

        public static string[] GetCarrierNames()
        {
            List<string> carrierNames = new List<string>();

            carrierNames.Add("EUB");
            carrierNames.Add("HK POST");
            return carrierNames.ToArray();
        }
    }
}
